2024 Method Back to 2024
M

CreateExtrusionGeometry

Version comparison

Per-version detail

Click a version below to see what changed in that release vs your current frame (2024).
Identical to 2024: 2020, 2021, 2022, 2023
2024 current
GeometryCreationUtilities.CreateExtrusionGeometry(IList<CurveLoop>, XYZ, Double, SolidOptions)
profileLoops IList<CurveLoop> The profile loops to be extruded. The loops must be closed, coplanar, and without intersections, self-intersections, or degeneracies. No loop may contain just one closed curve - split such loops into two or more curves beforehand. No conditions are imposed on the orientations of the loops: this function will use copies of the input loops that have been oriented as necessary to conform to Revit's orientation conventions.
extrusionDir XYZ The direction in which to extrude the profile loops. This vector must be non-zero and transverse (i.e., not parallel) to the plane of the profile loops. Its length is irrelevant; only its direction is used.
extrusionDist Double The positive distance by which the loops are to be extruded in the direction of the input extrusionDir.
solidOptions SolidOptions The optional information to control the properties of the Solid.
→ returns Solid The requested solid.
GeometryCreationUtilities.CreateExtrusionGeometry(IList<CurveLoop>, XYZ, Double, SolidOptions)
profileLoops IList<CurveLoop> The profile loops to be extruded. The loops must be closed, coplanar, and without intersections, self-intersections, or degeneracies. No loop may contain just one closed curve - split such loops into two or more curves beforehand. No conditions are imposed on the orientations of the loops: this function will use copies of the input loops that have been oriented as necessary to conform to Revit's orientation conventions.
extrusionDir XYZ The direction in which to extrude the profile loops. This vector must be non-zero and transverse (i.e., not parallel) to the plane of the profile loops. Its length is irrelevant; only its direction is used.
extrusionDist Double The positive distance by which the loops are to be extruded in the direction of the input extrusionDir.
solidOptions SolidOptions The optional information to control the properties of the Solid.
→ returns Solid The requested solid.
GeometryCreationUtilities.CreateExtrusionGeometry(IList<CurveLoop>, XYZ, Double, SolidOptions)
profileLoops IList<CurveLoop> The profile loops to be extruded. The loops must be closed, coplanar, and without intersections, self-intersections, or degeneracies. No loop may contain just one closed curve - split such loops into two or more curves beforehand. No conditions are imposed on the orientations of the loops: this function will use copies of the input loops that have been oriented as necessary to conform to Revit's orientation conventions.
extrusionDir XYZ The direction in which to extrude the profile loops. This vector must be non-zero and transverse (i.e., not parallel) to the plane of the profile loops. Its length is irrelevant; only its direction is used.
extrusionDist Double The positive distance by which the loops are to be extruded in the direction of the input extrusionDir.
solidOptions SolidOptions The optional information to control the properties of the Solid.
→ returns Solid The requested solid.
GeometryCreationUtilities.CreateExtrusionGeometry(IList<CurveLoop>, XYZ, Double, SolidOptions)
profileLoops IList<CurveLoop> The profile loops to be extruded. The loops must be closed, coplanar, and without intersections, self-intersections, or degeneracies. No loop may contain just one closed curve - split such loops into two or more curves beforehand. No conditions are imposed on the orientations of the loops: this function will use copies of the input loops that have been oriented as necessary to conform to Revit's orientation conventions.
extrusionDir XYZ The direction in which to extrude the profile loops. This vector must be non-zero and transverse (i.e., not parallel) to the plane of the profile loops. Its length is irrelevant; only its direction is used.
extrusionDist Double The positive distance by which the loops are to be extruded in the direction of the input extrusionDir.
solidOptions SolidOptions The optional information to control the properties of the Solid.
→ returns Solid The requested solid.